package com.darthsith.droidathome.core.dao;

import java.util.List;

import com.darthsith.droidathome.core.model.Device;

/**
 * DAO class for Device
 * 
 * @author andrea
 *
 */
public interface DeviceDao {

	/**
	 * Add device
	 * @param device
	 */
	void addDevice(Device device);
	
	/**
	 * List all device
	 * @return
	 */
	List<Device> listAll();
	
	/**
	 * Remove Device
	 * @param device
	 */
	void removeDevice(Device device);
	
	/**
	 * Get Device by macAddress
	 * @param macAddress
	 * @return
	 */
	Device getDevice(String macAddress);
}
